package com.atguigu.gmall.product.mapper;

import com.atguigu.gmall.model.product.BaseAttrInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: lx
 * @Time: 10:27
 * @Description:
 */
public interface BaseAttrInfoMapper extends BaseMapper<BaseAttrInfo> {

    //根据一二三级分类ID 查询 平台属性集合
    List<BaseAttrInfo> attrInfoList(
            @Param("category1Id") Long category1Id,
            @Param("category2Id") Long category2Id,
            @Param("category3Id") Long category3Id
    );
}
